﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FCNS.KeepMoney.Util
{
    class DownloadInfo
    {
        /// <summary>
        /// 不能为空
        /// </summary>
        public readonly string Url;
        public object SyncObj = new object();
        public bool Ready = false;
        public List<UpdateComponentInfo> ComponentInfo = null;

        public DownloadInfo(string strUrl)
        {
            if (strUrl == null) throw new ArgumentNullException("strUrl");

            this.Url = strUrl;
        }
    }
}
